Always use matched specpdl entry to record call arguments (Bug#18473).
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 16 Sep 2014 04:04:56 +0000 (08:04 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 16 Sep 2014 04:04:56 +0000 (08:04 +0400)
commit9c05c0f41a04a8683988345580d39ac3c64a8688
treee03162812775b14b9312fafa9373d673814d60ef
parent7c356c581d675b349cd87a7f8d8887983108fd93
Always use matched specpdl entry to record call arguments (Bug#18473).
* lisp.h (record_in_backtrace): Adjust prototype.
* eval.c (record_in_backtrace): Return current specpdl level.
(set_backtrace_args, set_backtrace_nargs): Merge.  Adjust all users.
(eval_sub, Ffuncall): Record call arguments in matched specpdl
entry and use that entry in call to backtrace_debug_on_exit.
(apply_lambda): Likewise.  Get current specpdl level as 3rd arg.
(do_debug_on_call): Get current specpdl level as 2nd arg.
src/ChangeLog
src/eval.c
src/lisp.h